package com.jt.demo051;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@ResponseBody
@RequestMapping("/it")
public class SpringMvc {
    //url ;
    @RequestMapping("/it/{id}/{name}/{age}")
   // @RequestMapping("/restFul2/{id}/{name}/{age}{ss}")
    public User getUser(User user){
        return  user;
    }
}
